#include "ShipMissilesMonitor.h"

using namespace view;

ShipMissilesMonitor::ShipMissilesMonitor(void) : SDLProgressMonitor()
{
}

ShipMissilesMonitor::ShipMissilesMonitor(int min, int max, int current) : SDLProgressMonitor(min, max, current)
{
}

ShipMissilesMonitor::~ShipMissilesMonitor(void)
{
}

void ShipMissilesMonitor::update(Observable* shipMissilesProperty)
{
	ShipMissilesProperty* shipMissiles = static_cast<ShipMissilesProperty*>(shipMissilesProperty);
	currentProgress = shipMissiles->getProgress();
}
